/*
 * @Autor: GXL
 * @Date: 2022-04-09 14:14:07
 * @LastEditTime: 2022-04-09 14:15:23
 * @FilePath: \blog_web\src\api\diary.js
 * @Description: I see that all living beings have no intention, but I moved my heart to you
 */
import request from '@/request'

let { get: $get, post: $post } = request

// 发布日记
export const releaseDiary = (options) => $post('/Diary/release', options)
// 删除日记
export const deleteDiary = (options) => $post('/Diary/delete', options)
// 获取用户发布的日记
export const getDiaryList = (options) => $get('/Diary/list', options)
